void updateWithInput()
{
	char input;
	
	if(kbhit())
	{
		input = getch();
		if(input == 'a')
		{
			moveDirection=3;
			moveSnakeByDirction();
		}
		else if (input=='d')
		{
			moveDirection=4;
			moveSnakeByDirction();
		}
		else if(input=='w')
		{
			moveDirection=1;
			moveSnakeByDirction();
		}
		else if (input=='s')
		{
			moveDirection=2;
			moveSnakeByDirction();
		}
	}
 } 
